package model

import "gorm.io/gorm"

type Appointment struct {
	gorm.Model
	UserId  int64   `gorm:"type:int; not null; comment:'用户id'"`
	ShopId  int64   `gorm:"type:int; not null; comment:'商店id'"`
	PetName string  `gorm:"type:varchar(150); not null; comment:'宠物名称'"`
	Price   float32 `gorm:"type:decimal(10,2); not null;comment:'价格'"`
	Phone   string  `gorm:"type:char(11); not null; comment:'电话号码'"`
	Context string  `gorm:"type:text;comment:'备注'"`
	Status  int64   `gorm:"type:int; not null; comment:'0-正常，1-异常'"`
}
